package ldkxingzhe.l365calendar.model;

import android.support.annotation.NonNull;

/**
 * InfoItem 的抽象基类
 * Created by xingzhe on 16/2/16.
 */
abstract public class InfoItemBase{
    private final int type;
    private Object object;

    public InfoItemBase(int type, @NonNull Object object){
        this.type = type;
        this.object = object;
    }

    public Object getObject(){
        return object;
    }

    public int getType(){
        return getType();
    }
}